#ifndef _MUSHROOM_H_
#define _MUSHROOM_H_

#include "monster.h"
#include "config.h"
#include "sprite.h"

class CMushroom : public CMonster
{
protected:
	CSprite* _sprite_move;
	CSprite* _sprite_died_by_skill;
	CSprite* _sprite_died_by_trampled;	

public:
	CMushroom(LPD3DXSPRITE SpriteHandler, float XHandle, float YHandle, int ScreenWidth, int ScreenHeight);
	~CMushroom();
	void Init(LPDIRECT3DDEVICE9 d3dDevice);
	void Update(int Time);
	void Draw();

protected:
	//======Action=====
	void _Move();
	void _BeDoneBySkill();
	void _BeDoneByTrampled();
	void _StillAlive();
};

#endif